File manager - Edit - /home/autoph/public_html/projects/AutoHub-Kiosk-Final/resources/views/welcome.blade.php
Back
@extends('layouts.layouts') @section('css') <link href="{{ asset('css/app.css') }}" rel="stylesheet"> <style> .logos-col img{ max-width: 100%; max-height: 100%; } #body-container{ /* border:2px solid white; */ max-height: 100%; /* padding-top:1em; */ } /* .logos-col img{ max-width: 100%; max-height: 100%; } */ /* Extra small devices (phones, 600px and down) */ /* @media only screen and (max-width: 600px) { */ /* .bheader {background: red;} */ /* } */ /* Small devices (portrait tablets and large phones, 600px and up) */ @media only screen and (min-width: 600px) { /* .bheader {background: green;} */ .card-body{ overflow:auto; height:650px; } .bhader{ margin-top:20px; /* padding-top:2em; */ /* position:relative; */ } #body-container{ padding-top:0; } } /* Medium devices (landscape tablets, 768px and up) */ @media only screen and (min-width: 768px) { .bheader { /* background: blue; */ margin-top:120px; position:relative; } #body-container{ padding-top:1em; } } </style> @endsection @section('content') @section('header') @include('layouts.header') @endsection <div class="start"> <div class="card border-primary" style="position:center;"> <div class="card-header border-primary" > <div class="row bheader"> <div class="col-sm-3"><center><h4 class="mt-5">Welcome to<br> {{Auth::user()->deal_name}}</h4></center></div> <div class="col-sm-3 mt-2 mb-auto logos-col"><img src="{{asset(Auth::user()->logo)}}" alt="" id="dealer-logo"></div> <div class="col-sm-3"><img src="{{asset('/files/img/logo/VKOOL.png')}}" alt="vkool" id="vkool-logo"></div> <div class="col-sm-3"><img src="{{asset('/files/img/transparent_logo.png')}}" id="comp-logo"></div> </div> </div> <div class="card-body " style="text-align: justify; font-size:15px;"> <strong><p class="text-center" style="font-size:18px;">CUSTOMER DATA PRIVACY NOTICE AND CONSENT FORM</p></strong> {{-- We at {{Auth::user()->comp_name}} {!! nl2br(e($disclaimer->content)) !!} --}} @php $dealerName = Auth::user()->deal_name; $dealerCode = Auth::user()->deal_code; $compName = Auth::user()->comp_name; // Replace the company name placeholder $modifiedContent = str_replace('{!! Auth::user()->comp_name !!}', $compName, $disclaimer->content); // Replace the company name placeholder $modifiedContent = str_replace('{!! Auth::user()->deal_name !!}', $dealerName, $modifiedContent); // Replace the company code placeholder $modifiedContent = str_replace('{!! Auth::user()->deal_code !!}', $dealerCode, $modifiedContent); echo nl2br(e($modifiedContent)); @endphp <br> <br> <div class="form-check"> <input class="form-check-input" type="checkbox" name="agree_box" id="agree_box"> <label for="agree_box" class="form-label">By checking the box, you agree to receive marketing updates such as discounts and special promos, newsletters, and information regarding products, services, and other events.</label> </div> <div class="form-check"> <input class="form-check-input" type="checkbox" name="agree_box2" id="agree_box2"> <label for="agree_box" class="form-label">By checking the box, I agree and accepting the terms and conditions for data privacy, you acknowledge and consent to the collection, storage, and processing of your personal information in accordance with our privacy policy.</label> </div> </div> <div class="card-footer border-primary"> <center> {{-- <button class="depth" id="start_button">AGREE</button> --}} {{-- <button class="btn btn-dark btn-lg btn-circle btn-start" id="start_button"><span>push</span></br>START</button> --}} <div class="wrap"> <button class="button agree-btn" id="start_button" >PROCEED</button> </div> </center> </div> </div> </div> @endsection @section('javascript') <script> (function(){ $(function(){ var chk =0; $('#start_button').prop('disabled',true).css('opacity',0.5); $('#start_button').on('click', function(e){ e.preventDefault(); var isChecked = $('#agree_box').prop('checked'); var status = isChecked ? 'on' : 'off'; $('#start_button').prop('disabled',false).css('opacity',1); var url = "/information?subscribe=" + status; window.location.href = url; }); // $('#agree_box').on('click', function(){ // chk = $("input[type=checkbox]:checked").length; // $('#start_button').prop('disabled',true).css('opacity',0.5); // if(chk===2) // { // $('#start_button').prop('disabled',false).css('opacity',1); // } // }); $('#agree_box2').on('click', function(){ if($(this).is(":checked")){ $('#start_button').prop('disabled',false).css('opacity',1); }else{ $('#start_button').prop('disabled',true).css('opacity',0.5); } // chk = $("input[type=checkbox]:checked").length; // $('#start_button').prop('disabled',true).css('opacity',0.5); // if(chk===2) // { // $('#start_button').prop('disabled',false).css('opacity',1); // } }); }); })(); </script> @endsection
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0 |
proxy
|
phpinfo
|
Settings